package client;
import java.io.Serializable;

public class Message implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String msg;
	private Object obj;
	private boolean status;
	private String statusMsg;
	
	public Message()
	{
		this.setMsg(null);
		this.setObj(null);
		this.setStatus(false);
		this.setStatusMsg(null);
	}
	
	public Message(Object o,String msg)
	{
		this.setMsg(msg);
		this.setObj(o);
		this.setStatus(false);
		this.setStatusMsg(null);
		
	}
	
	public Message(String Message)
	{
		this.setMsg(Message);
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}

	public boolean isStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

	public String getStatusMsg() {
		return statusMsg;
	}

	public void setStatusMsg(String statusMsg) {
		this.statusMsg = statusMsg;
	}
	

}
